package models;

import common.BasicModel;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 *  用户model类
 */
@Entity
@Table(name="user")
public class User extends BasicModel {

    public String name;

    public String phone;

    public String password;

    public String area;

    public String city;

    public String province;

    public User() {}

    public User(String name, String phone, String password, String area, String city,String province) {
        this.name = name;
        this.phone = phone;
        this.password = password;
        this.area = area;
        this.city = city;
        this.province = province;
    }

}